﻿namespace Traffic.Entity;

/// <summary>
/// 用户钱包
/// </summary>
public partial class UserWallet
{
    public int Id { get; set; }

    /// <summary>
    /// 用户ID。对应表UserData.ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 微信UNIONID
    /// </summary>
    public string? WxUnionId { get; set; }

    /// <summary>
    /// 阿里UNIONID
    /// </summary>
    public string? AliUnionId { get; set; }

    /// <summary>
    /// 真实姓名
    /// </summary>
    public string RealName { get; set; } = null!;

    /// <summary>
    /// 电话
    /// </summary>
    public string Mobile { get; set; } = null!;

    /// <summary>
    /// 身份证
    /// </summary>
    public string Idcard { get; set; } = null!;

    /// <summary>
    /// 32位个人扰乱码
    /// </summary>
    public string RandomCode { get; set; } = null!;

    /// <summary>
    /// 支付密码
    /// </summary>
    public string PayPassword { get; set; } = null!;

    /// <summary>
    /// 现金余额
    /// </summary>
    public decimal CashAmt { get; set; }

    /// <summary>
    /// 积分余额
    /// </summary>
    public decimal BonusAmt { get; set; }

    /// <summary>
    /// 赠送、活动余额
    /// </summary>
    public decimal PresentAmt { get; set; }

    public DateTime CreateDate { get; set; }

    public string? Remarks { get; set; }
}
